@import "slider";

.poster {
  background: #fff;
  max-height: 600px;
}

.index-section {
  margin-bottom: 20px;
  .container {
    width: 100%;
    text-align: center;
    position: relative;
    .button-course {
      display: inline-block;
      position: absolute;
      width: 4%;
      top: 238px;
      background-color: #fff;
    }
    .button-left {
      left: 3px;
      button {
        border: none;
        opacity: .5;
        filter:alpha(opacity=50);
        padding: 26px 8px;
        background-color: #fff;
        i {
          font-size: 36px;
          color: $primaryColor;
        }
        &:hover {
          opacity: .9;
          filter:alpha(opacity=90);
        }
      }
    }
    .button-right {
      right: 3px;
      button {
        border: none;
        opacity: .5;
        filter:alpha(opacity=50);
        padding: 26px 8px;
        background-color: #fff;
        i {
          font-size: 36px;
          color: $primaryColor;
        }
        &:hover {
          opacity: .9;
          filter:alpha(opacity=90);
        }
      }
    }
    .head-course {
      text-align: left;
      margin-top: 40px;
      margin-bottom: 25px;
      margin-left: 3%;
      margin-right: 4%;
      .nav {
        margin-top: 28px;
        li {
          display:inline-block;
          padding: 0;
          padding-right: 8px;
          padding-left: 6px;
          border-right: 1px dashed #8b8b8b;
          a {
            padding: 2px 16px;
            border-radius: 4px;
            &:hover {
              background-color: $primaryColor;
              color: #fff;
              border-radius: 4px;
            }
          }
          a.active {
            background-color: $primaryColor;
            color: #fff;
          }
        }
        li:last-child {
          border-right: none;
        }
      }
      h2 {
        display: inline-block;
        font-size: 22px;
        position: relative;
        span {
          padding: 0 20px;
          background-color: #fff;
          letter-spacing: 1px;
          position: relative;
          z-index: 1;
        }
        &:after {
          content: '';
          position: absolute;
          background: #efefef;
          height: 1px;
          left: 0;
          right: 0;
          top: 13px;
        }
      }
    }
  }
}

.index-about {
  margin-top: 30px;
  text-align: center;
  background-color: #f6f6f6;
  padding-bottom: 30px;
  h2 {
    background-color: #f6f6f6;
    margin-top: 40px;
    span{
      background-color: #f6f6f6;
    }
  }
}

.index-ad {
  margin-top: 30px;
  background-color: $ad-background-color;
  text-align: center;
  padding: 30px;
  .icon-1 {
    i {
      color: #2CB663;
      background-color: #DAFAE7;

    }
    &:hover {
      i {
        color: #fff;
        background-color: #2CB663;
      }
    }
  }
  .icon-2 {
    i {
      color: #F4B329;
      background-color: #FCEFD2;
    }
    &:hover {
      i {
        color: #fff;
        background-color: #F4B329;
      }
    }
  }
  .icon-3 {
    i {
      color: #F96C6C;
      background-color: #FDE2E2;
    }
    &:hover {
      i {
        color: #fff;
        background-color: #F96C6C;
      }
    }
  }
  h3 {
    font-size: 18px;
    font-weight: 100;
  }
  p {
    padding: 0 30px;
    font-size: 13px;
    color: #999;
    line-height: 1.6;
  }
  i {
    width: 100px;
    height: 100px;
    line-height: 100px;
    text-align: center;
    font-size: 36px;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
    &.icon-1 {

    }
  }
  .index-ad-button {
    margin-top: 20px;
    .btn-default {
      color: $link-hover-color;
    }
  }
}
